package com.hhkj.study.api.user.model.req;

import com.hhkj.study.admin.user.model.req.UserReq;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author luowu
 * @Date 2024/10/15 涵 16:17:11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiCustomerUserUpdateReq extends UserReq {

    @NotBlank(message = "姓名不能为空")
    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public Integer getGender() {
        return super.getGender();
    }
}
